package com.ruoyi.labour.mapper;

import com.ruoyi.labour.domain.LabourUploadCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UploadCardMapper {

    /**
     *修改身份证状态
     * @param status
     * @param id
     */
    void updateUpdate(@Param("status") Integer status,
                      @Param("id")Integer id);

    /**
     * 查询身份证
     * @return
     */
    List<LabourUploadCard> selectRecruit();

    /**
     * 根据id查询身份证
     * @param id
     * @return
     */
    LabourUploadCard selectId(Integer id);

    /**
     * 根据id查询身份证是否存在
     * @param id
     * @return
     */
    int checkUploadIsExist(@Param("id") Integer id );

}
